<?php
use Illuminate\Http\Request;

//健康检查服务
Route::any('/status', 'StatusController@index');
Route::any('/time', 'StatusController@time');
//文档站点
Route::any('/swagger', 'SwaggerController@index');


Route::group(['prefix' => 'user'], function (){
    Route::post('login', 'UserController@login');
});


Route::group(['prefix' => 'user', 'middleware' => ['auth:passport']], function (){

    Route::get('get', 'UserController@get');

    Route::get('list', 'UserController@list');


});


